Espressif Systems /ESP32 /PCNT /U0_CONF0

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as U0_CONF0

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0FILTER_THRES0 (FILTER_EN)FILTER_EN 0 (THR_ZERO_EN)THR_ZERO_EN 0 (THR_H_LIM_EN)THR_H_LIM_EN 0 (THR_L_LIM_EN)THR_L_LIM_EN 0 (THR_THRES0_EN)THR_THRES0_EN 0 (THR_THRES1_EN)THR_THRES1_EN 0CH0_NEG_MODE 0CH0_POS_MODE 0CH0_HCTRL_MODE 0CH0_LCTRL_MODE 0CH1_NEG_MODE 0CH1_POS_MODE 0CH1_HCTRL_MODE 0CH1_LCTRL_MODE

Fields

FILTER_THRES

This register is used to filter pluse whose width is smaller than this value for unit0.

FILTER_EN

This is the enable bit for filtering input signals for unit0.

THR_ZERO_EN

This is the enable bit for comparing unit0’s count with 0 value.

THR_H_LIM_EN

This is the enable bit for comparing unit0’s count with thr_h_lim value.

THR_L_LIM_EN

This is the enable bit for comparing unit0’s count with thr_l_lim value.

THR_THRES0_EN

This is the enable bit for comparing unit0’s count with thres0 value.

THR_THRES1_EN

This is the enable bit for comparing unit0’s count with thres1 value .

CH0_NEG_MODE

This register is used to control the mode of channel0’s input negedge signal for unit0. 2’d1: increase at the negedge of input signal 2’d2:decrease at the negedge of input signal others:forbidden

CH0_POS_MODE

This register is used to control the mode of channel0’s input posedge signal for unit0. 2’d1: increase at the posedge of input signal 2’d2:decrease at the posedge of input signal others:forbidden

CH0_HCTRL_MODE

This register is used to control the mode of channel0’s high control signal for unit0. 2’d0:increase when control signal is low 2’d1: decrease when control signal is high others:forbidden

CH0_LCTRL_MODE

This register is used to control the mode of channel0’s low control signal for unit0. 2’d0:increase when control signal is low 2’d1: decrease when control signal is high others:forbidden

CH1_NEG_MODE

This register is used to control the mode of channel1’s input negedge signal for unit0. 2’d1: increase at the negedge of input signal 2’d2:decrease at the negedge of input signal others:forbidden

CH1_POS_MODE

This register is used to control the mode of channel1’s input posedge signal for unit0. 2’d1: increase at the posedge of input signal 2’d2:decrease at the posedge of input signal others:forbidden

CH1_HCTRL_MODE

This register is used to control the mode of channel1’s high control signal for unit0. 2’d0:increase when control signal is low 2’d1: decrease when control signal is high others:forbidden

CH1_LCTRL_MODE

This register is used to control the mode of channel1’s low control signal for unit0. 2’d0:increase when control signal is low 2’d1: decrease when control signal is high others:forbidden

Links

() ()